package com.xxlie.shop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * rdp-project
 * 项目启动入口
 *
 * @author xxlie.com
 * @since 2017/10/16.
 */
@EnableJpaAuditing
@EnableCaching
@EnableScheduling
@EnableEurekaClient
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.xxlie.*"})
public class ShopApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShopApplication.class, args);
    }

}
